package com.smartleanx.module.hrm.service.esign;
/**
 * @description  e签宝接口路径
 * @author 肖泽强
 * @date 2025/4/15 10:47
 */
public class ESignUrlConstant {
    /**
     * 自定义控件添加接口
     */
    public static final String CUSTOM_COMPONENTS_CREATE = "/v3/custom-components/create";
    /**
     * 获取自定义控件列表
     */
    public static final String CUSTOM_COMPONENTS_LIST = "/v3/custom-components/get-list";
    /**
     * 删除自定义控件
     */
    public static final String CUSTOM_COMPONENTS_REMOVE = "/v3/custom-components/delete";
    /**
     * 编辑自定义业务控件
     */
    public static final String CUSTOM_COMPONENTS_RENAME = "/v3/custom-components/rename";
    /**
     * 文件上传地址
     */
    public static final String FILE_UPLOAD_URL = "/v3/files/file-upload-url";
    /**
     * 文档模板创建链接
     */
    public static final String TEMP_CREATE_URL = "/v3/doc-templates/doc-template-create-url";
    /**
     * 文档模板编辑链接
     */
    public static final String TEMP_EDIT_URL = "/v3/doc-templates/%s/doc-template-edit-url";

    /**
     * 获取填写合同模板
     */
    public static final String TEMPLATE_FILL_URL = "/v3/doc-templates/doc-template-fill-url";
    /**
     * 文件转PDF
     */
    public static final String TEMPLATE_TO_PDF = "/v3/files/create-by-doc-template";
    /**
     * 查询HTML填写后文件
     */
    public static final String HTML_FILL_IN_PDF = "/v3/files/%s/detail";
    /**
     * 查询PDF填写后文件
     */
    public static final String PDF_FILL_IN_PDF = "/v3/files/%s";
    /**
     * 合同模板中的控件
     */
    public static final String DOC_TEMPLATE_DETAIL = "/v3/doc-templates/%s";
    /**
     * 发起签署
     */
    public static final String CREATE_SIGN_FLOW = "/v3/sign-flow/create-by-file";
    /**
     * 获取签署链接
     */
    public static final String SIGN_FLOW_LINK = "/v3/sign-flow/%s/sign-url";
    /**
     * 撤回签署
     */
    public static final String SIGN_FLOW_REVOKE = "/v3/sign-flow/%s/revoke";
    /**
     * 签署流程详情
     */
    public static final String SIGN_FLOW_DETAIL = "/v3/sign-flow/%s/detail";
    /**
     * 删除签署区
     */
    public static final String REMOVE_SIGN_FLOW = "/v3/sign-flow/%s/signers/sign-fields?signFieldIds=%s";
    /**
     * 添加签署前期
     */
    public static final String ADD_SIGN_FLOW = "/v3/sign-flow/%s/signers/sign-fields";



}

